package com.zoe.onelink.doc.plugin.feign;

import com.zoe.onelink.doc.plugin.feign.model.FeignClientDoc;
import lombok.AllArgsConstructor;
import springfox.documentation.service.VendorExtension;

/**
 * <p>标题: </p>
 * <p>描述: </p>
 * <p>版权: Copyright (c) 2022</p>
 * <p>公司: 智业软件股份有限公司</p>
 *
 * @version: 1.0
 * @author: ruansheng
 * @date: 2022-03-31
 */
@AllArgsConstructor
public class FeignVendorExtension implements VendorExtension<FeignClientDoc> {

    private String name;
    
    private FeignClientDoc feignClientDoc;


    @Override
    public String getName() {
        return this.name;
    }

    @Override
    public FeignClientDoc getValue() {
        return this.feignClientDoc;
    }
}
